package com.hxm.meizi.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by hxm on 2017/2/19.
 */

public class ZiPaiImage implements Parcelable {
    public static final Parcelable.Creator<ZiPaiImage> CREATOR = new Parcelable.Creator<ZiPaiImage>() {
        @Override
        public ZiPaiImage createFromParcel(Parcel source) {
            return new ZiPaiImage(source);
        }

        @Override
        public ZiPaiImage[] newArray(int size) {
            return new ZiPaiImage[size];
        }
    };
    private String url;
    private String uploadTime;

    public ZiPaiImage() {
    }

    protected ZiPaiImage(Parcel in) {
        this.url = in.readString();
        this.uploadTime = in.readString();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.url);
        dest.writeString(this.uploadTime);
    }
}
